package cn.edu.lingnan.fruitshop.service;

import cn.edu.lingnan.fruitshop.common.JSONResult;
import cn.edu.lingnan.fruitshop.pojo.Focustable;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张小凡
 * @since 2022-01-04
 */
public interface FocustableService extends IService<Focustable> {

    //加入收藏
    JSONResult<Void>focus(Integer goodId, HttpSession session);

    //我的收藏
    public String myFocus(HttpSession session,Model model);

    //删除收藏
    public String deleteFocus(Integer focusId);

}
